import tkinter as tk

root = tk.Tk()
btn = tk.Button(root, text="按钮")
btn.place(x=50, y=30)  # 距离左上角 (50, 30) 像素
root.mainloop()